package com.lukk.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.lukk.pojo.Indent;
import com.lukk.pojo.MeasureIndent;
/**
 * 
 * MeasureIndentDAO 上午10:22:28
 * 
 * Copyright zhaocj Inc. All rights reserved.
 * Love ME Like Justin Bieber.
 */
@Repository
public interface MeasureIndentDAO {

	List<Indent> selectWorkerIndentByMap(Map<String, Object> queryMap);

	Integer selectWorkerIndentCountByMap(Map<String, Object> queryMap);

	List<Indent> selectMerchantIndentByMap(Map<String, Object> queryMap);

	Integer selectMerchantIndentCountByMap(Map<String, Object> queryMap);

	Integer modifyIndentStatus(@Param("indentID") Integer indentID, @Param("status") Integer status);

	// 根据订单号查询订单的一些内容
	Map<String, Object> selectIndentByIndentIDForJpush(Integer indentId);

	Integer modifyByPrimaryKey(MeasureIndent measureIndent);

	Integer initialMeasureIndentToAcceptable(Integer indentId);

}
